package com.tanhua.dubbo.api;

import com.baomidou.mybatisplus.core.metadata.IPage;

import com.tanhua.model.db.UserInfo;

public interface BlackListApi {

    //根据用户Id查询黑名单
    IPage<UserInfo> findByUserId(Long userId, Integer page, Integer pageSize);

    /*
    * 删除黑名单*/
    void delete(Long userId, Long blackUserId);
}
